<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>Color | ts</title>
	<meta name="description" content="Documentation for ts">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">ts</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
							<input type="checkbox" id="tsd-filter-only-exported" />
							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="../modules/_laya_d3_math_color_.html">&quot;laya/d3/math/Color&quot;</a>
				</li>
				<li>
					<a href="_laya_d3_math_color_.color.html">Color</a>
				</li>
			</ul>
			<h1>Class Color</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p><code>Color</code> 类用于创建颜色实例。</p>
					</div>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<span class="target">Color</span>
					</li>
				</ul>
			</section>
			<section class="tsd-panel">
				<h3>Implements</h3>
				<ul class="tsd-hierarchy">
					<li><span class="tsd-signature-type">IClone</span></li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Constructors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="_laya_d3_math_color_.color.html#constructor" class="tsd-kind-icon">constructor</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Properties</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_laya_d3_math_color_.color.html#a" class="tsd-kind-icon">a</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_laya_d3_math_color_.color.html#b" class="tsd-kind-icon">b</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_laya_d3_math_color_.color.html#g" class="tsd-kind-icon">g</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_laya_d3_math_color_.color.html#r" class="tsd-kind-icon">r</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_math_color_.color.html#black" class="tsd-kind-icon">BLACK</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_math_color_.color.html#blue" class="tsd-kind-icon">BLUE</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_math_color_.color.html#cyan" class="tsd-kind-icon">CYAN</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_math_color_.color.html#gray" class="tsd-kind-icon">GRAY</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_math_color_.color.html#green" class="tsd-kind-icon">GREEN</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_math_color_.color.html#magenta" class="tsd-kind-icon">MAGENTA</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_math_color_.color.html#red" class="tsd-kind-icon">RED</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_math_color_.color.html#white" class="tsd-kind-icon">WHITE</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_math_color_.color.html#yellow" class="tsd-kind-icon">YELLOW</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_math_color_.color.html#clone" class="tsd-kind-icon">clone</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_math_color_.color.html#cloneto" class="tsd-kind-icon">clone<wbr>To</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_math_color_.color.html#fornativeelement" class="tsd-kind-icon">for<wbr>Native<wbr>Element</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_math_color_.color.html#togamma" class="tsd-kind-icon">to<wbr>Gamma</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_math_color_.color.html#tolinear" class="tsd-kind-icon">to<wbr>Linear</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_math_color_.color.html#gammatolinearspace" class="tsd-kind-icon">gamma<wbr>ToLinear<wbr>Space</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_math_color_.color.html#lineartogammaspace" class="tsd-kind-icon">linear<wbr>ToGamma<wbr>Space</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Constructors</h2>
				<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
					<a name="constructor" class="tsd-anchor"></a>
					<h3>constructor</h3>
					<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">new <wbr>Color<span class="tsd-signature-symbol">(</span>r<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, g<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, b<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, a<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_d3_math_color_.color.html" class="tsd-signature-type">Color</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/math/Color.ts:89</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>创建一个 <code>Color</code> 实例。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> r: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></h5>
									<div class="tsd-comment tsd-typography">
										<div class="lead">
											<p>颜色的red分量。</p>
										</div>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> g: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></h5>
									<div class="tsd-comment tsd-typography">
										<div class="lead">
											<p>颜色的green分量。</p>
										</div>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> b: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></h5>
									<div class="tsd-comment tsd-typography">
										<div class="lead">
											<p>颜色的blue分量。</p>
										</div>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> a: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></h5>
									<div class="tsd-comment tsd-typography">
										<div class="lead">
											<p>颜色的alpha分量。</p>
										</div>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_d3_math_color_.color.html" class="tsd-signature-type">Color</a></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Properties</h2>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="a" class="tsd-anchor"></a>
					<h3>a</h3>
					<div class="tsd-signature tsd-kind-icon">a<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in laya/d3/math/Color.ts:89</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>alpha分量</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="b" class="tsd-anchor"></a>
					<h3>b</h3>
					<div class="tsd-signature tsd-kind-icon">b<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in laya/d3/math/Color.ts:87</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>blue分量</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="g" class="tsd-anchor"></a>
					<h3>g</h3>
					<div class="tsd-signature tsd-kind-icon">g<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in laya/d3/math/Color.ts:85</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>green分量</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="r" class="tsd-anchor"></a>
					<h3>r</h3>
					<div class="tsd-signature tsd-kind-icon">r<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in laya/d3/math/Color.ts:83</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>red分量</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="black" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> BLACK</h3>
					<div class="tsd-signature tsd-kind-icon">BLACK<span class="tsd-signature-symbol">:</span> <a href="_laya_d3_math_color_.color.html" class="tsd-signature-type">Color</a><span class="tsd-signature-symbol"> = new Color(0, 0, 0, 1)</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in laya/d3/math/Color.ts:42</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>黑色</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="blue" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> BLUE</h3>
					<div class="tsd-signature tsd-kind-icon">BLUE<span class="tsd-signature-symbol">:</span> <a href="_laya_d3_math_color_.color.html" class="tsd-signature-type">Color</a><span class="tsd-signature-symbol"> = new Color(0, 0, 1, 1)</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in laya/d3/math/Color.ts:18</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>蓝色</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="cyan" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> CYAN</h3>
					<div class="tsd-signature tsd-kind-icon">CYAN<span class="tsd-signature-symbol">:</span> <a href="_laya_d3_math_color_.color.html" class="tsd-signature-type">Color</a><span class="tsd-signature-symbol"> = new Color(0, 1, 1, 1)</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in laya/d3/math/Color.ts:22</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>蓝绿色</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="gray" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> GRAY</h3>
					<div class="tsd-signature tsd-kind-icon">GRAY<span class="tsd-signature-symbol">:</span> <a href="_laya_d3_math_color_.color.html" class="tsd-signature-type">Color</a><span class="tsd-signature-symbol"> = new Color(0.5, 0.5, 0.5, 1)</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in laya/d3/math/Color.ts:34</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>灰色</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="green" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> GREEN</h3>
					<div class="tsd-signature tsd-kind-icon">GREEN<span class="tsd-signature-symbol">:</span> <a href="_laya_d3_math_color_.color.html" class="tsd-signature-type">Color</a><span class="tsd-signature-symbol"> = new Color(0, 1, 0, 1)</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in laya/d3/math/Color.ts:14</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>绿色</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="magenta" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> MAGENTA</h3>
					<div class="tsd-signature tsd-kind-icon">MAGENTA<span class="tsd-signature-symbol">:</span> <a href="_laya_d3_math_color_.color.html" class="tsd-signature-type">Color</a><span class="tsd-signature-symbol"> = new Color(1, 0, 1, 1)</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in laya/d3/math/Color.ts:30</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>品红色</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="red" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> RED</h3>
					<div class="tsd-signature tsd-kind-icon">RED<span class="tsd-signature-symbol">:</span> <a href="_laya_d3_math_color_.color.html" class="tsd-signature-type">Color</a><span class="tsd-signature-symbol"> = new Color(1, 0, 0, 1)</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in laya/d3/math/Color.ts:10</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>红色</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="white" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> WHITE</h3>
					<div class="tsd-signature tsd-kind-icon">WHITE<span class="tsd-signature-symbol">:</span> <a href="_laya_d3_math_color_.color.html" class="tsd-signature-type">Color</a><span class="tsd-signature-symbol"> = new Color(1, 1, 1, 1)</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in laya/d3/math/Color.ts:38</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>白色</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="yellow" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> YELLOW</h3>
					<div class="tsd-signature tsd-kind-icon">YELLOW<span class="tsd-signature-symbol">:</span> <a href="_laya_d3_math_color_.color.html" class="tsd-signature-type">Color</a><span class="tsd-signature-symbol"> = new Color(1, 0.92, 0.016, 1)</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in laya/d3/math/Color.ts:26</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>黄色</p>
						</div>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="clone" class="tsd-anchor"></a>
					<h3>clone</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">clone<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/math/Color.ts:141</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>克隆。</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
							<p>克隆副本。</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="cloneto" class="tsd-anchor"></a>
					<h3>clone<wbr>To</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">clone<wbr>To<span class="tsd-signature-symbol">(</span>destObject<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/math/Color.ts:129</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>克隆。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>destObject: <span class="tsd-signature-type">any</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>克隆源。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="fornativeelement" class="tsd-anchor"></a>
					<h3>for<wbr>Native<wbr>Element</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">for<wbr>Native<wbr>Element<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/math/Color.ts:147</li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="togamma" class="tsd-anchor"></a>
					<h3>to<wbr>Gamma</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">to<wbr>Gamma<span class="tsd-signature-symbol">(</span>out<span class="tsd-signature-symbol">: </span><a href="_laya_d3_math_color_.color.html" class="tsd-signature-type">Color</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/math/Color.ts:119</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>线性空间转换到Gamma空间。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>out: <a href="_laya_d3_math_color_.color.html" class="tsd-signature-type">Color</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="tolinear" class="tsd-anchor"></a>
					<h3>to<wbr>Linear</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">to<wbr>Linear<span class="tsd-signature-symbol">(</span>out<span class="tsd-signature-symbol">: </span><a href="_laya_d3_math_color_.color.html" class="tsd-signature-type">Color</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/math/Color.ts:109</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Gamma空间转换到线性空间。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>out: <a href="_laya_d3_math_color_.color.html" class="tsd-signature-type">Color</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="gammatolinearspace" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> gamma<wbr>ToLinear<wbr>Space</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">gamma<wbr>ToLinear<wbr>Space<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/math/Color.ts:48</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Gamma空间值转换到线性空间。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>value: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>gamma空间值。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="lineartogammaspace" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> linear<wbr>ToGamma<wbr>Space</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">linear<wbr>ToGamma<wbr>Space<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/d3/math/Color.ts:65</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>线性空间值转换到Gamma空间。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>value: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>线性空间值。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Globals</em></a>
					</li>
					<li class="current tsd-kind-module">
						<a href="../modules/_laya_d3_math_color_.html">&quot;laya/d3/math/<wbr>Color&quot;</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-class tsd-parent-kind-module">
						<a href="_laya_d3_math_color_.color.html" class="tsd-kind-icon">Color</a>
						<ul>
							<li class=" tsd-kind-constructor tsd-parent-kind-class">
								<a href="_laya_d3_math_color_.color.html#constructor" class="tsd-kind-icon">constructor</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_laya_d3_math_color_.color.html#a" class="tsd-kind-icon">a</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_laya_d3_math_color_.color.html#b" class="tsd-kind-icon">b</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_laya_d3_math_color_.color.html#g" class="tsd-kind-icon">g</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_laya_d3_math_color_.color.html#r" class="tsd-kind-icon">r</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_math_color_.color.html#black" class="tsd-kind-icon">BLACK</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_math_color_.color.html#blue" class="tsd-kind-icon">BLUE</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_math_color_.color.html#cyan" class="tsd-kind-icon">CYAN</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_math_color_.color.html#gray" class="tsd-kind-icon">GRAY</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_math_color_.color.html#green" class="tsd-kind-icon">GREEN</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_math_color_.color.html#magenta" class="tsd-kind-icon">MAGENTA</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_math_color_.color.html#red" class="tsd-kind-icon">RED</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_math_color_.color.html#white" class="tsd-kind-icon">WHITE</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_math_color_.color.html#yellow" class="tsd-kind-icon">YELLOW</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_math_color_.color.html#clone" class="tsd-kind-icon">clone</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_math_color_.color.html#cloneto" class="tsd-kind-icon">clone<wbr>To</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_math_color_.color.html#fornativeelement" class="tsd-kind-icon">for<wbr>Native<wbr>Element</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_math_color_.color.html#togamma" class="tsd-kind-icon">to<wbr>Gamma</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_math_color_.color.html#tolinear" class="tsd-kind-icon">to<wbr>Linear</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_math_color_.color.html#gammatolinearspace" class="tsd-kind-icon">gamma<wbr>ToLinear<wbr>Space</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_math_color_.color.html#lineartogammaspace" class="tsd-kind-icon">linear<wbr>ToGamma<wbr>Space</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer>
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>